package com.netease.ssm.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.netease.ssm.mapper.ContentMapper;
import com.netease.ssm.meta.Content;

@Service
public class EditService {
	@Autowired
	private ContentMapper contentMapper;
	
	public void editSubmit(Content content){
		
	      contentMapper.updateByPrimaryKey(content);
		
	}

}
